package day06;

import java.util.Arrays;

public class Test   {
    public static void main(String[] args) throws CloneNotSupportedException {
        Test ne=new Test();
        ne.age=3;
        Test nn=new Test();

        System.out.println(nn.age);
        int[] arr=new int[]{1,2,3,4,5};
        int j = arr.length-1-1;
       // int temp = arr[i];
        while (j >= 0 ) {
            arr[j + 1] = arr[j];
            j--;
        }
        System.out.println(Arrays.toString(arr));

    }
    public int age;
}
